<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="root"></div>
</body>
<script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script>
<!-- 依赖核心库，将核心的功能与页面结合 -->
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<!-- 编译jsx -->
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script>
<script>
    var h1 = React.createElement("h1",{"class":"item1"},"HELLO WORLD")
    console.log("h1:",h1)
    ReactDOM.render(h1,document.getElementById("root"))

</script>
</html>